package com.resou.reader.api.entry;

import java.util.List;

/**
 * Author: 萤火虫
 * E-mail:  Allensuns@163.com
 * Description:
 * CreateTime: 2019-04 -12
 **/
public class BaseComment {


    private String msg;
    private int code;
    private int dataSize;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getDataSize() {
        return dataSize;
    }

    public void setDataSize(int dataSize) {
        this.dataSize = dataSize;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String nickName;
        private String head_pic;
        private int id;
        private long create_date;
        private String content;
        private int uid;
        private String novel_id;
        private String book_review_id;
        private String book_review_comment_id;
        private int type;
        private String level;
        private Integer praisenum;
        private int reviewCount;
        private List<ReviewlistBean> reviewlist;
        private boolean isShowAll = false;

        public boolean isShowAll() {
            return isShowAll;
        }

        public void setShowAll(boolean showAll) {
            isShowAll = showAll;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getHead_pic() {
            return head_pic;
        }

        public void setHead_pic(String head_pic) {
            this.head_pic = head_pic;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getCreate_date() {
            return create_date;
        }

        public void setCreate_date(long create_date) {
            this.create_date = create_date;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getNovel_id() {
            return novel_id;
        }

        public void setNovel_id(String novel_id) {
            this.novel_id = novel_id;
        }

        public String getBook_review_id() {
            return book_review_id;
        }

        public void setBook_review_id(String book_review_id) {
            this.book_review_id = book_review_id;
        }

        public String getBook_review_comment_id() {
            return book_review_comment_id;
        }

        public void setBook_review_comment_id(String book_review_comment_id) {
            this.book_review_comment_id = book_review_comment_id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public Integer getPraisenum() {
            if (praisenum == null) {
                return 0;
            }
            return praisenum;
        }

        public void setPraisenum(Integer praisenum) {
            this.praisenum = praisenum;
        }

        public int getReviewCount() {
            return reviewCount;
        }

        public void setReviewCount(int reviewCount) {
            this.reviewCount = reviewCount;
        }

        public List<ReviewlistBean> getReviewlist() {
            return reviewlist;
        }

        public void setReviewlist(List<ReviewlistBean> reviewlist) {
            this.reviewlist = reviewlist;
        }

        public static class ReviewlistBean {
            private String nickName;
            private String head_pic;
            private int id;
            private long create_date;
            private String content;
            private int uid;
            private String novel_id;
            private String book_review_id;
            private String book_review_comment_id;
            private int type;
            private String level;
            private int praisenum;

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getHead_pic() {
                return head_pic;
            }

            public void setHead_pic(String head_pic) {
                this.head_pic = head_pic;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getCreate_date() {
                return create_date;
            }

            public void setCreate_date(long create_date) {
                this.create_date = create_date;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getNovel_id() {
                return novel_id;
            }

            public void setNovel_id(String novel_id) {
                this.novel_id = novel_id;
            }

            public String getBook_review_id() {
                return book_review_id;
            }

            public void setBook_review_id(String book_review_id) {
                this.book_review_id = book_review_id;
            }

            public String getBook_review_comment_id() {
                return book_review_comment_id;
            }

            public void setBook_review_comment_id(String book_review_comment_id) {
                this.book_review_comment_id = book_review_comment_id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public int getPraisenum() {
                return praisenum;
            }

            public void setPraisenum(int praisenum) {
                this.praisenum = praisenum;
            }
        }
    }
}
